package cn.agiledata.bank.audit.dao;

import cn.agiledata.bank.hibernateBean.Account;
import cn.agiledata.bank.hibernateBean.AuditGroup;

public interface IAuditGroupDao {

    public AuditGroup[] getAuditGroups(boolean systemGroup, Long accountId,
            Boolean updatable);

    public void saveOrUpdateAuditGroup(AuditGroup auditGroup);

    public AuditGroup getAuditGroupById(long auditGroupId);

    public void deleteAuditGroup(AuditGroup auditGroup);

    public AuditGroup getAuditGroupByName(boolean systemGroup, Account account,
            String name);

}